package com.example.myproject.reflectDemo;

import java.lang.reflect.Field;

/**
 * Created by Mj on 2018/5/24.
 */
public class ReflectDemo {
    public static void main(String[] args) {
        Field[] fields = Son.class.getFields();
        System.out.println(fields.length);
    }
}
